<#include "/includes/header.ftl">
<TABLE width="100%" border="0" cellpadding="0" cellspacing="0">
<TR>
	<TD width="120" valign="top"><#include "/includes/leftbar.ftl"></TD>	
	<TD valign="top" width="90%">
	<#-- Main Content-->
	<table width="100%" border="0">
  <tr>
    <th colspan="2" align='center'>管理店铺-申请服务专员</th>
  </tr>
  <tr>
    <th colspan="2" align='center'><hr></th>
  </tr>
  
  <form name="edit_store_profile" action='<@spring.url "/requestmystoreservant.php"/>' method="post" onsubmit="return check_form(create_account);">
  <tr>
    <th width="1%" nowrap="NOWRAP" scope="row"><div align="right">店铺名称: </div></th>
    <td width="90%">      
          <div align="left">${userSession.managedStoreName?default("Your-Store-No-Name")}
          </div>
    </td>
  </tr>
  
  <#if storeServant?has_content>
	  <tr>
	    <th width="1%" nowrap="nowrap" scope="row"><div align="right">服务专员: </div></th>
	    <td colspan="2">
	    <table>
					<TR>
						<TD rowspan="6"><IMG src='<@spring.url "/IMAGES/USER/USER_SMALL_DEFAULT.PNG"/>'></TD>
					</TR>
					
					<TR>
						<TD  colspan="3" style="font:10px">昵称:${storeServant.user.name?default("No-NickName")}</TD>
					</TR>
					<TR>
						<TD  colspan="3" style="font:10px">QQ:15317227</TD>
					</TR>
					<TR>
						<TD  colspan="3" style="font:10px">MSN:conan8chan@yahoo.com</TD>
					</TR>
					<TR>
						<TD  colspan="3" style="font:10px">Tel:0755-86150031</TD>
					</TR>
					<TR>
						<TD  colspan="3" style="font:10px">Tel:0755-86455917</TD>
					</TR>	    
	    </table>
	    </td>
	  </tr>
	  <tr>
	    <th width="1%" nowrap="nowrap" scope="row"><div align="right">状态: </div></th>
	    <td colspan="2">
	      <#assign status = storeServant.status?default(1001)>
			  <#if status == 1002>申请审批
			  <#elseif status == 1003>审批失败
			  <#elseif status == 1004>审批通过
			  <#else>正在编辑(<font color="red">编辑完毕后，请联系服务专员审批你的店铺资料。</font>)
			  </#if>
	    </td>
	  </tr>
	<#elseif userId?has_content>
	  <tr>
	    <th width="1%" nowrap="nowrap" scope="row"></th>
	    <td colspan="2"><font color="red">${userId}用户不存在或该用户不是服务专员</font></td>
	  </tr>	  
	<#else>  
	  <tr>
	    <td colspan="3"><hr></td>
	  </tr>
	
	  <tr>
	    <th width="1%" nowrap="nowrap" scope="row">服务专员电子邮件：</th>
	    <td colspan="2"><INPUT  type="text" name="userId" value=""><INPUT  type="submit" name="submit" value="提交"></td>
	  </tr>
  </#if>
  
  </form>
</table>
	<#-- /Main Content-->
	</TD>	
	<TD valign="top"><#include "/includes/rightbar.ftl"></TD>
</TR>
</TABLE>

<#include "/includes/footer.ftl">